/**
 *
 */
package com.zhengtoon.mctoon.conv.service.sdzc;


import java.util.List;

import com.zhengtoon.mctoon.conv.bean.sdzc.Reply;
import com.zhengtoon.mctoon.conv.dto.sdzc.TransferLetterDto;
import com.zhengtoon.mctoon.conv.dto.sdzc.ZfhfLetterResultDto;

/**
 * 信件回复Service接口
 *
 * @author 刘振华
 * @version 2017-04-12
 *          Copyright: Copyright (c) 2017
 *          Company:北京政务通科技有限公司
 */
public interface ReplyService {

    /**
     * 根据官方回复id获取回复详情
     *
     * @param ghlReplyId, ghlSysLetterId, ghlTransferLetterId, ghlReplyType, ghlReplyTitle, ghlReplyContent, ghlReplyOrgName, ghlReplyUser, ghlReplyDate, ghlOpenFlag, createTime, updateTime
     * @return Reply
     */
    Reply selectSingle(String ghlReplyId, String ghlSysLetterId, String ghlTransferLetterId, String ghlReplyType, String ghlReplyTitle, String ghlReplyContent, String ghlReplyOrgName, String ghlReplyUser, String ghlReplyDate, String ghlOpenFlag, String createTime, String updateTime);


    /**
     * 获取最新回复
     *
     * @param ghlSysLetterId
     * @return
     */
    Reply queryNewestReplyBySysLetterId(String ghlSysLetterId);

    /**
     * 根据子信件获取回复列表
     *
     * @param transferLetterId
     * @return
     */
    TransferLetterDto queryReplyById(String transferLetterId);


    /**
     * 根据convId查询政风系统恢复  144637
     *
     * @param convId
     * @return
     */
    List<ZfhfLetterResultDto> queryZfhfReplyByConvId(Long convId);
}